import request from '@/router/axios'

//分页查询委外结算订单的列表
export function getConsignSettleByPage(query) {
  return request({
    url: '/eims/consignSettlement/page',
    method: 'get',
    params: query
  })
}
//单条获取委外结算订单的信息
export function getConsignSettleById(billId) {
  return request({
    url: '/eims/consignSettlement/' + billId,
    method: 'get'
  })
}

//更新委外订单结算
export function putConsignSettleObj(obj) {
  return request({
    url: '/eims/consignSettlement',
    method: 'put',
    data: obj
  })
}

